package com.anxin.bean;

import java.util.Date;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

@Repository
@Scope("prototype")
@SuppressWarnings("serial")
public class Project implements java.io.Serializable {

	// Fields
	private int id; // * 类型id，自增主键. *
	private String name; // * 项目名称. *
	private String proj_code; // * 项目代号 *
	private Department deptid; // * 承接部门.父部门id *
	private String proj_target; // * 目标客户 *
	private Type typeid; // * 项目类型.参数id *
	private Date build_date;// * 项目立项时间 *
	private Date start_date;// * 项目开始日期 *
	private Date finish_date;// * 项目预期完成日期 *
	private String proj_finished; // * 是否完成. *

	// Constructors
	/** default constructor */
	public Project() {
	}

	/** full constructor */
	public Project(String name, String proj_code, Department deptid, String proj_target, Type typeid, Date build_date, Date start_date, Date finish_date, String proj_finished) {
		this.name = name;
		this.proj_code = proj_code;
		this.deptid = deptid;
		this.typeid = typeid;
		this.build_date = build_date;
		this.start_date = start_date;
		this.finish_date = finish_date;
		this.proj_finished = proj_finished;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProj_code() {
		return proj_code;
	}

	public void setProj_code(String proj_code) {
		this.proj_code = proj_code;
	}

	public Department getDeptid() {
		return deptid;
	}

	public void setDeptid(Department deptid) {
		this.deptid = deptid;
	}

	public String getProj_target() {
		return proj_target;
	}

	public void setProj_target(String proj_target) {
		this.proj_target = proj_target;
	}

	public Type getTypeid() {
		return typeid;
	}

	public void setTypeid(Type typeid) {
		this.typeid = typeid;
	}

	public Date getBuild_date() {
		return build_date;
	}

	public void setBuild_date(Date build_date) {
		this.build_date = build_date;
	}

	public Date getStart_date() {
		return start_date;
	}

	public void setStart_date(Date start_date) {
		this.start_date = start_date;
	}

	public Date getFinish_date() {
		return finish_date;
	}

	public void setFinish_date(Date finish_date) {
		this.finish_date = finish_date;
	}

	public String getProj_finished() {
		return proj_finished;
	}

	public void setProj_finished(String proj_finished) {
		this.proj_finished = proj_finished;
	}

}
